Platform Explorer / Nuxeo Platform 2021.49

Operation Document.SetMetadataFromBlob (Trigger Metadata Mapping)

Description

Write Metadata To Document From Binary according to metadata mapping.
Operation id Document.SetMetadataFromBlob
AliasesDocument.TriggerMetadataMapping
Category Files
Label Trigger Metadata Mapping
Requires
Since 7.1

Parameters

Name Description Type Required Default value
metadataMappingId The metadata mapping id to apply on the input document. string yes  
processor The processor to execute for reading blobs metadata. string no  
save boolean no true 

Signature

Inputs document
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.binary.metadata.internals.operations.TriggerMetadataMappingOnDocument
Contributing Component org.nuxeo.binary.metadata

JSON Definition

{
  "id" : "Document.SetMetadataFromBlob",
  "aliases" : [ "Document.TriggerMetadataMapping" ],
  "label" : "Trigger Metadata Mapping",
  "category" : "Files",
  "requires" : null,
  "description" : "Write Metadata To Document From Binary according to metadata mapping.",
  "since" : "7.1",
  "url" : "Document.SetMetadataFromBlob",
  "signature" : [ "document", "void" ],
  "params" : [ {
    "name" : "metadataMappingId",
    "description" : "The metadata mapping id to apply on the input document.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "processor",
    "description" : "The processor to execute for reading blobs metadata.",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}